public abstract class Demo1 {
    int age;
    String name;

    Demo1() {

    }

    Demo1(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public static void print() {
        System.out.println("实现抽象的方法");
    }

    ;

    abstract public void printkf();

    public static void main(String[] args) {
        print();
    }
}
